package com.program.cloudmanagesystem.hotel;

//import jakarta.annotation.PostConstruct;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.event.EventListener;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
@EnableDiscoveryClient
@SpringBootApplication
@ServletComponentScan
@EnableScheduling

@MapperScan("com.program.cloudmanagesystem.hotel.persistence")
public class HotelApplication {

    public static void main(String[] args) {



        SpringApplication.run(HotelApplication.class, args);

    }

}
